home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / m68k / 460 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: luggage.rednet.co.uk!usenet
  2. From: johnd@reflex-tech.co.uk (John Dalton)
  3. Newsgroups: comp.sys.m68k
  4. Subject: Re: User/Supervisor Mode
  5. Date: Sat, 23 Mar 1996 19:01:05 GMT
  6. Organization: Reflex Technology
  7. Message-ID: <4j1hqv$24c@luggage.rednet.co.uk>
  8. References: <NEWTNews.17103.826679995.TOMVK@aestvk.eunet.be>
  9. Reply-To: johnd@reflex-tech.co.uk
  10. NNTP-Posting-Host: an049.du.pipex.com
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. aeslw@pophost.eunet.be wrote:
  14.  
  15. >I was wondering if anyone out there has had much experience using the M68k
  16. >(we use the M68332) in User/Supervisor Mode.
  17. ..
  18. >etc). We are using a multi-tasking executive and this creates other
  19. >problems in how to safely handle a context switch, hardware interrupts etc.
  20. >Our executive (c-task, ported) needs to perform the above tasks in the
  21. >most efficient manner possible. Another requirement is that our User tasks
  22. >be written in C.
  23.  
  24. I don't know c-task but I know trap interfaces slow down your
  25. application.  Is a trap the only way to access c-task?  Can't you link
  26. directly to its code and run your whole application in supervisory
  27. mode?  Or don't you trust the code to behave itself?
  28.  
  29. I know one solution, but it involves using a memory-protected kernel
  30. linked to your application, and would probably cost a lot more than
  31. what you have now.  But it would be tidy.
  32.  
  33. >Our solutions to date have been......untidy..... :)
  34.  
  35. Regards, John
  36.  
  37.  
  38.  
  39.  
  40.